package pe.com.bbva.configuracion.bo;

import java.util.List;

import pe.com.bbva.configuracion.domain.Turno;
import pe.com.stefanini.core.bo.Grid;
import pe.com.stefanini.core.exceptions.BOException;
import pe.com.stefanini.core.exceptions.DAOException;

@SuppressWarnings("rawtypes")
public interface TurnoBO {
	public List<Turno> findTurnos(Turno turno)throws BOException, DAOException ;
	public Turno findById(Long id) throws BOException, DAOException;
	public Turno findActive() throws BOException, DAOException;
	public void save(Turno turno, Long codigoAntiguo) throws BOException, DAOException;
	public void delete(Turno turno)throws BOException;
	public void deleteLog(Class turno, Long id)throws BOException;
	public Grid<Turno> findToGrid(Turno turno,String order, int page, int rows)
	throws BOException, DAOException;
	public List<Turno> findTurnoListByDescrip(String descripcion) throws BOException;
	public Long ValidaCargaEnProceso() throws BOException;
	public void update(Turno turno) throws BOException;
}